package com.study.webapp.jdk8;



import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class ThreadLocalTest {

    public static void main2(String[] args) {
        ThreadLocal<String> local = new ThreadLocal<>();
        local.set("");
        local.get();
        local.remove();
    }

    public static void main(String[] args) {
        ExecutorService service = Executors.newCachedThreadPool();
        ExecutorService service2 = Executors.newFixedThreadPool(5);
        ExecutorService service4 = Executors.newSingleThreadExecutor();

    }
}
